<?php


class PokaYokeHtml extends PokaYokeRetriever
{
	public function retrieve( $options )
	{
     	 // Quotes checking
		 if ( ! isset( $options[ 'quotes' ] ) ) {
        	$options[ 'quotes' ] = null;
		}

        // Charset checking
		if ( ! isset( $options[ 'charset' ] ) ) {
        	$options[ 'charset' ] = "UTF-8";
		}

		return htmlentities( $this->value, $options[ 'quotes' ], $options[ 'charset' ] );
	}
}


?>